﻿<MudForm @bind-IsValid="_fIsValid">
    <MudDatePicker id="datePickerLabelTest" Label="Cheese it" Required="true" RequiredError="Please provide a date" @bind-Date="@(_theDate)" />
</MudForm>

Valid: @_fIsValid
Date: @_theDate

@code
{
    public static string __description__ = "The form should be valid after text has been set and a date has been picked.";

    private bool _fIsValid;
    private DateTime? _theDate;
}